from django.db import models
from datetime import datetime

# Create your models here.

class Company_Backup(models.Model):
    id = models.CharField(max_length=150, verbose_name='id', primary_key=True)
    user_id = models.CharField(max_length=150, verbose_name='用户id')
    company_name = models.CharField(max_length=150, verbose_name='公司名字')
    phone_number = models.CharField(max_length=150, verbose_name='联系方式')
    create_time = models.DateTimeField(verbose_name='创建日期',default='')
    visit_time = models.DateTimeField(verbose_name='更新日期',default='')
    app_id = models.CharField(max_length=10, verbose_name='应用来源id')

    class Meta:
        verbose_name = '公司信息'
        verbose_name_plural = verbose_name

    def __str__(self):
        return str(self.id)
